package com.cysyz.mylib.utils.strings.wraper.impl.html;


import com.cysyz.mylib.utils.strings.wraper.StringWrapper;

public class JsonWrapperHtml implements StringWrapper {
	
	public JsonWrapperHtml() {}

	@Override
	public String wrap(String json) {
		StringBuilder result = new StringBuilder();
		result.append("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><body>");
		result.append(json);
		result.append("</body></html>");
		return result.toString();
	}
}
